package com.ms.service.module.analysis.async;

import com.ms.service.module.analysis.db.AnalysisDAO;
import com.ms.service.module.analysis.db.model.ClientReportModel;
import com.xpec.c4.service.module.task.TaskAsyncCommand;

public class SaveClientReportAsync extends TaskAsyncCommand {

	private ClientReportModel clientReportModel;

	@Override
	public void asyncExecute() throws Exception {
		AnalysisDAO.getInstance().insertNewClientReport(clientReportModel);
	}

	@Override
	public void execute() throws Exception {
	}
	
	public ClientReportModel getClientReportModel() {
		return clientReportModel;
	}

	public void setClientReportModel(ClientReportModel clientReportModel) {
		this.clientReportModel = clientReportModel;
	}
}
